package cinema.v1_1.model;

public class Hall {
    private String id;
    private String name;
    private int rows;
    private int cols;

    public Hall(String id, String name, int rows, int cols) {
        this.id = id;
        this.name = name;
        this.rows = rows;
        this.cols = cols;
    }

    public String getId()     { return id; }
    public String getName()   { return name; }
    public int getRows()      { return rows; }
    public int getCols()      { return cols; }

    public int getSeatCount() { return rows * cols; }
}